#coding=utf-8
import re

'''
' [多行]未定义 单行的逻辑块也要用{}括起来
'''
def mzcc_udrule_mulUndefine__1(bufferItem, lineContext):

    results = re.findall(r"{", lineContext.curNspLine);
    if 0 != len(results):
        return 0;

    results = re.findall(r";", lineContext.curNspLine);
    if 0 != len(results):
        return 1;

    return 2;
